<template>
  <el-form class="login-box">
    <el-tabs stretch="true">
      <el-tab-pane label="登录用户" value="first"><Login></Login></el-tab-pane>
      <el-tab-pane label="注册用户" name="second"><Register></Register></el-tab-pane>
    </el-tabs>
  </el-form>
</template>
<script>
import Register from './Register.vue';
import Login from './Login.vue';
export default {
  components: {
    Register,
    Login
  },
  data() {
    return {
      activeName: 'first'
    };
  },
  methods: {

  }
};
</script>

<style>
.login-box {
  border: 1px solid #DCDFE6;
  width: 350px;
  margin: 180px auto;
  padding: 35px 35px 15px 35px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  box-shadow: 0 0 25px #909399;
}
</style>